/* 引入less */
/* 重置样式 */
require('../css/commCss/normalize.css')
/* 重置样式补充 */
require('../css/commCss/reset.css')
/* 公共样式 */
require('../css/commCss/property.css')
/* 公共属性 */
require('../css/commCss/basic.less')
/* 字体图标 */
require('../fonts/iconfont.css')
/* 当前页面 */
require('../css/countDown.less')

document.addEventListener('DOMContentLoaded', function () {
    /* 倒计时 */
    let time = 3
    let timer = setInterval(function(){
        --time;
        if(time <= 0){
            document.querySelector("#countDown").textContent = "GO"
            location.href = "./home.html"
            //关闭计时器
            clearInterval(timer)
           
        }else{
            document.querySelector("#countDown").textContent = time
        }
        
    },1000)
})